<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../js/jquery-3.3.1.min.js" ></script>
		<script>
			$(function(){
				$(":button").click(function(){
					var dd=document.getElementById("d1");
					alert($(dd).text());
					//alert($("#d1").html());
					var $d2=$("#d1");
					
					$d2.html("<h1>We change lives</h1>");
					$d2.get(0).style.border="20px outset green";//
				});
			});
		</script>
	</head>
	<body>
		<div id="d1">教育改变生活</div>
		<input type="button" value="change" />
	</body>
</html>
